package org.gtugs.omsk.funnycats.scenes.classes;

import org.cocos2d.nodes.CCSprite;

public class FunnyUserData{
	public static enum ObjectType{
		CAT,
		MOUSE,
		WHISKAS,
		CLEW,
		CHEESE
	}
	
	final CCSprite sprite;
	final FunnyUserData.ObjectType objectType;
	
	public FunnyUserData(CCSprite sprite, FunnyUserData.ObjectType objectType) {
		super();
		this.sprite = sprite;
		this.objectType = objectType;
	}
	
	public CCSprite getSprite(){
		return sprite;
	}
	
	public boolean isMouse(){
		return objectType == ObjectType.MOUSE;
	}
	
	public boolean isCat(){
		return objectType == ObjectType.CAT;
	}
	
	public boolean isWhiskas(){
		return objectType == ObjectType.WHISKAS;
	}
	
	public boolean isClew(){
		return objectType == ObjectType.CLEW;
	}
	
	public boolean isCheese(){
		return objectType == ObjectType.CHEESE;
	}
}